package com.example.demo.service;

import org.springframework.stereotype.Component;

/**
 * @author LIN
 * @date 2022-12-13 09:59
 */
@Component(value = "demo1")
public class Demo1 implements Demo {


    @Override
    public String print() {
        System.out.println("demo1");
        return null;
    }
}
